<?php

class APPCore_Form_Decorator_Tab extends Zend_Form_Decorator_Abstract
{
    public function render($content)
    {
        $element = $this->getElement();

        /**
         * Decorator of element
         */
        $element->setDecorators(array('FormElements',
            array('Fieldset', $element->getAttribs()),
        ));

        return $element->__toString();
    }

}